Skip to content

Fix grid errors when quantiles falls outside of violin#3254

Merged
thomasp85 merged 3 commits intotidyverse:masterfrom
thomasp85:na-lty-violin
Apr 24, 2019
Merged

Fix grid errors when quantiles falls outside of violin#3254
thomasp85 merged 3 commits intotidyverse:masterfrom
thomasp85:na-lty-violin

Conversation

@thomasp85
Copy link
Member

Fixes #2885

In certain instances quantiles will have NA coordinates and the computed aesthetics will not match the number of lines to draw, leading to grid errors

@thomasp85 thomasp85 added this to the ggplot2 3.2.0 milestone Apr 23, 2019
Copy link
Member

@yutannihilation yutannihilation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally, seems good.

Co-Authored-By: thomasp85 <thomasp85@gmail.com>
@thomasp85 thomasp85 merged commit 8724c8e into tidyverse:master Apr 24, 2019
@lock
Copy link

lock bot commented Oct 21, 2019

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Oct 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

geom_violin with draw_quantiles - "Error in grid.Call.graphics(C_lines, x$x, x$y, index, x$arrow) : invalid hex digit in 'color' or 'lty'"

2 participants